package com.groupbuying.generator;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author zmlmagic
 * @des 代码生成器
 */

@EnableFeignClients(basePackages = {"com.groupbuying"})
@EnableCaching
@EnableScheduling
@SpringBootApplication()
@EnableApolloConfig
@MapperScan("com.groupbuying.generator.dao")

public class GeneratorApplication {
    public static void main(String[] args) {
        SpringApplication.run(GeneratorApplication.class, args);
    }
}
